package com.guigu.qxl.service;

import com.github.pagehelper.PageInfo;
import com.guigu.pojo.*;
import com.guigu.qxl.pojo.*;
import com.guigu.qxl.pojo.MDesignProcedureModuleVo;
import com.guigu.qxl.pojo.MDesignProcedureVo;

import java.util.List;

public interface MDesignProcedureService {
    PageInfo<QMDesignProcedureDetails> showAllMdesign(Integer pageNum, Integer pageSize);

    boolean MDesignProcedureRegister(MDesignProcedureVo mDesignProcedureVo);

    boolean mDesignProcedureModuleRegister(MDesignProcedureModuleVo mdesignProcedureModuleVo);

    PageInfo<QMDesignProcedure> pageS0010MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageS0011MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageS0011G0020MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageS0011G0022MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageG0020MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageS0011G0021MDesignProcedure(Integer pageNum, Integer pageSize);

    PageInfo<QMDesignProcedure> pageMDesignProcedure(Integer pageNum, Integer pageSize);

    QMDesignProcedure showMDesignProcedureById(QMDesignProcedure mdesignProcedure);

    QMDesignProcedureDetails showMDesignProcedureDetailsById(QMDesignProcedureDetails mdesignProcedureDetails);

    List<QMDesignProcedureDetails> showMDesignProcedureDetailsByParentId(QMDesignProcedure mdesignProcedure);

    boolean DesignModuleCheckOk(QMDesignProcedure mdesignProcedure);

    boolean mdesignProcedureCheckOk(QMDesignProcedure mdesignProcedure);

    boolean mdesignProcedureChange(MDesignProcedureVo mdesignProcedureVo);

    List<QDModuleDetails> showProuctById(String productId);

    void removeById(String productId, int id);

    boolean UpdMDesignProcedure(QMDesignProcedure mdesignProcedure);

    List<QMDesignProcedureModule> showProcedureModuleByParentId(int id);

    QDFile showDFileByProductId(String productId);
}
